package com.spa.openfeign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.spa.openfeign.FeignNacosClient;





@RestController
public class FeignConsumerController {

	@Autowired
	private FeignNacosClient feignNacosClient;

	@GetMapping("/test")
	public String test() {

		String result = feignNacosClient.sayHello();
		return result;
	}

}
